<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath(); //path ssm-blog
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>  
<!-- basePath得到项目的根地址 -->
<!DOCTYPE HTML>
<html>
<head>
<!-- 	base表示页面中所有url都以href里的基地址开始 -->
   <base href="<%=basePath%>">
   
   <title></title>
   
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta name='robots' content='noindex,follow' />
    <meta name="viewport" content="width=device-width" />
	
	<link rel="stylesheet" href="plugin/font-awesome/css/font-awesome.min.css">
    <link rel="shortcut icon" href="img/logo.png">
    <link rel='stylesheet' id='dashicons-css'  href='resources/plugin/login/dashicons.min.css' type='text/css' media='all' />
    <link rel='stylesheet' id='buttons-css'  href='resources/plugin/login/buttons.min.css' type='text/css' media='all' />
    <link rel='stylesheet' id='forms-css'  href='resources/plugin/login/forms.min.css' type='text/css' media='all' />
    <link rel='stylesheet' id='l10n-css'  href='resources/plugin/login/l10n.min.css' type='text/css' media='all' />
    <link rel='stylesheet' id='login-css'  href='resources/plugin/login/login.min.css' type='text/css' media='all' />
    <link rel='stylesheet'  href='resources/css/login.css' type='text/css' media='all' />

</head>

<body class="login login-action-login wp-core-ui  locale-zh-cn">
<div id="login">
    <br /> <br /> 
    <form name="loginForm" id="loginForm" action="admin/login"  method="post">
        <p>
            <label for="user_login">用户名或电子邮件地址<br />
                <input type="text" name="userName" id="user_login" class="input" value="admin" size="20" required/></label>
        </p>
        <p>
            <label for="user_pass">密码<br />
                <input type="password" name="userPass" id="user_pass" class="input" value="" size="20" required/>
            </label>
        </p>
        <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="1" checked /> 记住密码</label></p>
        <p class="submit">
            <input type="submit" name="wp-submit" id="submit-btn" class="button button-primary button-large" value="登录" />
        </p>
        <p>
        	
     	</p>
    </form>
		    	
	

</div>


<div class="clear"></div>
    <script >
    	var msg="${msg }";
    	if(msg!=null){
    		alert(msg);
    	}
    	
    
    </script>

</body>
</html>

























